﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin/masAdmin.master" AutoEventWireup="true"
    CodeFile="EditProfile.aspx.cs" Inherits="admin_EditProfile" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="content" runat="Server">
    <script src="../scripts/common.js" type="text/javascript"></script>
    <div class="content-box-header">
        <h3>
            Edit profile
        </h3>
    </div>
    <!-- End .content-box-header -->
    <div class="content-box-content">
        <div class="tab-content default-tab" id="tab1">
            <table border="0" cellpadding="0" cellspacing="0" class="table100">
                <tr>
                    <td colspan="2">
                        <span class="commentRequireInputText">
                            <%=Resources.Resource.LBL_REQUIREMENT%>
                        </span>
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                    <td align="left">
                        <asp:ValidationSummary ID="vsumUser" runat="server" ShowMessageBox="true" ShowSummary="false"
                            CssClass="errorMessage" />
                        <asp:Label ID="lblErrorMessage" runat="server" CssClass="errorMessage"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td width="150px" align="right">
                        First name(<span class="commentRequireInputText">*</span>):
                    </td>
                    <td>
                        <asp:TextBox ID="txtFirstName" MaxLength="128" Width="250px" runat="server">
                        </asp:TextBox>
                        <asp:RequiredFieldValidator ID="reqFirstName" runat="server" EnableClientScript="true"
                            CssClass="errorMessage" ErrorMessage="First name is require" Display="Dynamic"
                            ControlToValidate="txtFirstName">*</asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td width="150px" align="right">
                        Last name(<span class="commentRequireInputText">*</span>):
                    </td>
                    <td>
                        <asp:TextBox ID="txtLastname" MaxLength="128" Width="250px" runat="server">
                        </asp:TextBox>
                        <asp:RequiredFieldValidator ID="reqLastName" runat="server" EnableClientScript="true"
                            CssClass="errorMessage" ErrorMessage="First name is require" Display="Dynamic"
                            ControlToValidate="txtLastname">*</asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td width="150px" align="right">
                        Email(<span class="commentRequireInputText">*</span>):
                    </td>
                    <td>
                        <asp:TextBox ID="txtEmail" MaxLength="256" Width="250px" runat="server">
                        </asp:TextBox>
                        <asp:RequiredFieldValidator ID="reqEmail" runat="server" EnableClientScript="true"
                            CssClass="errorMessage" ErrorMessage="First name is require" Display="Dynamic"
                            ControlToValidate="txtEmail">*</asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="regvEmail" runat="server" ControlToValidate="txtEmail"
                            ErrorMessage="RegularExpressionValidator" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*">*</asp:RegularExpressionValidator>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        User name(<span class="commentRequireInputText">*</span>):
                    </td>
                    <td>
                        <asp:TextBox ID="txtUserName" MaxLength="256" Width="250px" runat="server" Enabled="false">
                        </asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                    <td style="height: 40px;" valign="bottom">
                        <asp:Button ID="btnSave" runat="server" CssClass="button" Text="Save" OnClick="btnSave_Click"
                            CausesValidation="true" />
                    </td>
                </tr>
            </table>
        </div>
    </div>
</asp:Content>
